package com.treeroot.planeservice.plane.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.context.annotation.Bean;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description:
 * @Author:treeRoot
 * @Email:553503639@qq.com
 * @Date: Create in 10:34 / 2022/6/10
 */
@Data
@ApiModel(value = "航班对象", description = "航班对象")
public class queryPlaneVo {
    @ApiModelProperty(value = "出发日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String startDateTime;
    @ApiModelProperty(value = "航班号 ")
    private String flightNumber;

    @ApiModelProperty(value = "出发城市 ")
    private String startCity;

    @ApiModelProperty(value = "到达城市")
    private String endCity;

    @TableField(exist = false)
    @ApiModelProperty(value = "开始价格 ")
    private String priceStart;

    @TableField(exist = false)
    @ApiModelProperty(value = "结束价格")
    private String priceEnd;

    @TableField(exist = false)
    @ApiModelProperty(value = "航班类型")
    private String type;

}
